#include "FioriMenuHolder.h"

unique_ptr<FioriMenuHolder> FioriMenuHolder::s_instance;
FioriMenuHolder::FioriMenuHolder(void)
{
}

FioriMenuHolder::~FioriMenuHolder(void)
{
}

FioriMenuHolder& FioriMenuHolder::instance()
{
	if(!s_instance)
	{
		s_instance.reset(new FioriMenuHolder());
	}
	return *s_instance;
}

FioriMenuTree& FioriMenuHolder::getMainMenu()
{
	return m_main;
}

FioriMenuTree& FioriMenuHolder::getDNRMenu()
{
	return m_dnr;
}